﻿using System;

namespace Rhizome.Model
{
    public sealed class IfTrue : PropertyCriterionBase<bool>
    {
        public IfTrue(string property) : base(property)
        {
        }

        public IfTrue()
        {
        }

        protected override bool IsTrue(bool value)
        {
            return value;
        }
    }
}